package com.mengxuegu.springcloud.service;/*
 * @auther 顶风少年
 * @mail dfsn19970313@foxmail.com
 * @date 2019-10-21 17:07
 * @notify
 * @version 1.0
 */

import com.mengxuegu.springcloud.entities.Product;

import java.util.List;

public interface ProductService {
    boolean add(Product product);

    Product get(Long id);

    List<Product> list();
}
